package cn.hxlc.tie.demo.modular.material.service;

import cn.hxlc.tie.demo.modular.material.entity.Materialgroup;
import cn.hxlc.tie.demo.modular.material.model.param.MaterialgroupParam;
import cn.hxlc.tie.demo.modular.material.model.result.MaterialgroupResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface MaterialgroupService extends IService<Materialgroup> {

    void add(MaterialgroupParam param);

    List<Map<String, Object>> queryTree();

    Materialgroup detail(Long fid);

    void delete(Long param);

    void update(MaterialgroupParam param);

    PageResult<MaterialgroupResult> findPageBySpec(MaterialgroupParam param);
}
